{% extends ':layouts:information.html.twig' %}

{% form_theme edit_form 'bootstrap_3_horizontal_layout.html.twig' %}

{% block crumb %}
    {{ render(controller( 'AppBundle:Default:crumb',{'labels':['个人中心','企业编辑']})) }}
{% endblock %}

{% block content %}
<div class="row">
    <div class="col-md-9">
    {{ form_start(edit_form) }}
        {{ form_widget(edit_form) }}
        <div class="form-group">
            <img src="{{ asset('uploads/'~company.licenseBusinessPic) }}" width="300" height="200"/>
        </div>
        <div class="form-group">
            <input type="submit" value="Edit" />
        </div>
    {{ form_end(edit_form) }}
    <ul>
        <li>
            <a href="{{ path('company_show') }}">返回</a>
        </li>
    </ul>
    </div>
</div>
{% endblock %}

{% block javascripts %}
    {{ parent() }}
    <script src="{{ asset('assets/js/area.js') }}"></script>
    <script>
        s=['company_province','company_city','company_county'];
        _init_area();
    </script>
{% endblock %}
